<template>
	<div>
		<div class="nav-header">
			<span>回访满意度汇总</span>

			<el-radio-group v-model="activeName">
				<el-radio-button label="图表汇总" value="1" />
				<el-radio-button label="表单汇总" value="2" />
			</el-radio-group>
		</div>
		<ChartPage v-if="activeName === '1'"></ChartPage>
		<TableSum v-else></TableSum>
	</div>
</template>

<script setup lang="ts">
import apiMod from '@/apiMod/index'
import ChartPage from './ChartPage/index.vue'
import TableSum from './TableSum/index.vue'

const activeName = ref('2')

const getInitData = () => {
	
}

onMounted(() => {
	getInitData()
})
</script>

<style scoped lang="scss">
.nav-header {
	margin-top: 10px;
	display: flex;
	align-items: center;
	gap: 10px;
}
</style>
